package com.doge.calcalbum.api.model

data class ProductInfo(
    val productId: Int,
    val price: Float,
    val oldPrice: Float,
    val description: String,
    val hot: Int,

    val priceDesc1: String, // ￥58 /月
    val priceDesc2: String, // ￥178/年
    val priceDesc3: String, // 原价￥512/年
) {
    companion object {
        const val PAY_TYPE_WECHAT = 1
        const val PAY_TYPE_ALIPAY = 2
    }
}

data class DiscountInfo(
    val title: String, // 限时优惠
    val desc: String,  // 已减50元
    val leftTime: Long,  // 单位秒 23:59:59
)

data class VipPaymentInfo(
    val discount: DiscountInfo?,
    val productList: List<ProductInfo>?,
)